package com.patrol.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * risk_point
 * @author zsc
 */
@Data
public class RiskPoint implements Serializable {

    @TableId(type = IdType.AUTO)
    @ExcelProperty(value = "风险点编号", index = 0)
    private Integer id;

    @ExcelProperty(value = "风险点名称", index = 1)
    private String name;

    @ExcelProperty(value = "纬度", index = 2)
    private Double latitudeX;

    @ExcelProperty(value = "经度", index = 3)
    private Double longitudeY;

    @ExcelProperty(value = "风险等级", index = 4)
    private String status;

    @ExcelProperty(value = "创建时间", index = 5)
    private String createTime;

    @ExcelProperty(value = "修改时间", index = 6)
    private String updateTime;

    @TableLogic
    private Integer isDeleted;
}
